Returns the drive letter from a complete path. Also available as a native function in Visual FoxPro.
Syntax
JustDrive(cPath)
cPath
Specifies the complete path name for which you want only the drive.
Return Type
Character